package net.pinnoocle.playdao.entity.web.master;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author ye
 * @Description
 * @create 2021-11-05 18:01
 */
@Data
public class OpenScriptParams {

    @ApiModelProperty("剧本id")
    @NotNull(message = "请选择剧本")
    private String scriptId;

    @ApiModelProperty("剧本名称")
    @NotNull(message = "请选择剧本")
    private String scriptName;

    @ApiModelProperty("人数")
    @NotNull(message = "剧本人数")
    private Integer startNumber;

    @ApiModelProperty("开始时间")
    @NotNull(message = "请选择开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @NotNull(message = "请选择结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date endTime;

    @ApiModelProperty("房间id")
    @NotNull(message = "请选择房间")
    private String roomId;

    @ApiModelProperty("是否加时 0 不加时 1 加时")
    private Integer isOverTime;

    @ApiModelProperty("难度级别 0 普通 1困难")
    private Integer levelType;

    @ApiModelProperty("是否夜班 0 白天 1 夜间")
    private Integer isNight;

    @ApiModelProperty("是否加班 0 不加班 1 加班")
    private Integer overWork;

    @ApiModelProperty("加时时间（小时）")
    private Double overTime;
}
